package com.seven.commons;

/**
 * @author sevenDay
 * @classname ParamterEnum
 * @description: 描述TODO
 * @date 2018/2/23
 */
public enum AnnotationEnum implements EnumInterface {
    /**
     * 参数错误
     */
    VALIDATE_EXECUTE_ERROR(1,"系统异常[validate error 1]"),
    APM_EXECUTE_ERROR(2,"系统异常[apm error 2]"),
    CACHE_EXECUTE_ERROR(3,"系统异常[cache error 3]"),
    LIMIT_EXECUTE_ERROR(4,"系统异常[limit error 4]");
    private Integer code;
    private String msg;
    AnnotationEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }
    @Override
    public String getMsg() {
        return msg;
    }
}
